// 页面整体样式
.profile {
  min-height: 100vh;
  background-color: #f5f5f5;
}

// 顶部用户信息区域
.profile-header {
  background: linear-gradient(to bottom, #72d7d2 50%, #68b4ee 100%);
  padding: 60rpx 30rpx 40rpx;
  margin-bottom: 20rpx;

  .user-info {
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 12rpx;
    padding: 10rpx;
    margin: -10rpx;
    transition: background-color 0.2s ease;
    
    &:active {
      background-color: rgba(255, 255, 255, 0.1);
    }
    
    .user-avatar {
      width: 120rpx;
      height: 120rpx;
      border-radius: 60rpx;
      margin-right: 20rpx;
      border: 3rpx solid rgba(255, 255, 255, 0.8);
      object-fit: cover;
    }

    .user-content {
      flex: 1;
      display: flex;
      align-items: center;
      
      .login-text {
        color: white;
        font-size: 32rpx;
        font-weight: 500;
      }

      .user-name {
        color: white;
        font-size: 32rpx;
        font-weight: 600;
      }
    }

    .arrow-right {
      .arrow {
        color: white;
        font-size: 32rpx;
        opacity: 0.8;
      }
    }
  }
}

// 我的订单区域
.order-section {
  background: white;
  margin: 0 0 20rpx 0;
  padding: 30rpx;

  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30rpx;

    .section-title {
      font-size: 32rpx;
      font-weight: 600;
      color: #333;
    }

    .view-all {
      font-size: 26rpx;
      color: #999;
    }
  }

  .order-types {
    display: flex;
    justify-content: space-around;

    .order-type {
      text-align: center;

      .order-icon {
        width: 100rpx;
        height: 100rpx;
        background: #f8f8f8;
        border: 2rpx solid #e8e8e8;
        border-radius: 12rpx;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 15rpx;

        .icon-text {
          font-size: 40rpx;
        }
      }

      .order-label {
        font-size: 24rpx;
        color: #666;
      }
    }
  }
}

// 功能列表
.feature-list {
  background: white;

  .feature-item {
    display: flex;
    align-items: center;
    padding: 30rpx;
    border-bottom: 1rpx solid #f0f0f0;

    &:last-child {
      border-bottom: none;
    }

    .feature-icon {
      width: 80rpx;
      height: 80rpx;
      border-radius: 12rpx;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 20rpx;

      .icon-text {
        font-size: 32rpx;
      }
    }

    .feature-text {
      flex: 1;
      font-size: 30rpx;
      color: #333;
      margin-left: 10rpx;
    }

    .coupon-count {
      font-size: 26rpx;
      color: #ff6b9d;
      margin-right: 10rpx;
    }

    .arrow {
      color: #ccc;
      font-size: 28rpx;
    }
  }
}

// 响应式优化
@media screen and (max-width: 375px) {
  .profile-header {
    padding: 50rpx 20rpx 30rpx;
  }
  
  .order-section, .feature-list .feature-item {
    padding: 25rpx 20rpx;
  }
}
